package com.pxst.internalReports.req;


import com.pxst.bank.req.BankBillReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author Chrissy
 * @description 虚拟对账单新增接口接收数据实体
 * @since 2023-11-06 19:13:45
 */
@ApiModel(value = "虚拟对账单新增接口接收数据实体")
@Data
public class VirtualBankStatementReq {
    @NotNull(message = "系统可用银行Id不能为空")
    @ApiModelProperty(value = "系统可用银行Id",allowEmptyValue = true)
    private Long availableBankId;

    @NotNull(message = "系统银行卡信息Id不能为空")
    @ApiModelProperty(value = "系统银行卡信息Id",allowEmptyValue = true)
    private Long bankCardId;

    @NotNull(message = "币种不能为空")
    @ApiModelProperty(value = "币种",allowEmptyValue = true)
    private String currency;

    @NotNull(message = "对账单数据不能为空")
    @Valid
    @ApiModelProperty(value = "对账单数据",allowEmptyValue = true)
    private List<BankBillReq> data;

    @NotNull(message = "操作者不能为空")
    @ApiModelProperty(value = "操作者",allowEmptyValue = true)
    private String operator;




}

